package com.gm.tools;

/**
 * Created by taojie on 17-8-5.
 */
public class Common {

    public static String getBankAccount(String card){
        if(card == null || card.length() < 5){
            return card;
        }else{
            return card.substring(0,5) + "******" + card.substring(card.length()-4);

        }
    }
}
